﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true"
    CodeBehind="admin_ncadd.aspx.cs" Inherits="Web.admin_ncadd" %>

<asp:Content ID="Content1" ContentPlaceHolderID="mainContent" runat="server">
    <div class="content-box">
        <!-- Start Content Box -->
        <div class="content-box-header">
            <h3>
                新闻分类管理</h3>
            <ul class="content-box-tabs">
                <li><a href="admin_newscategory.aspx">列表</a></li>
                <li><a href="admin_ncadd.aspx" class="default-tab">添加</a></li>
            </ul>
            <div class="clear">
            </div>
        </div>
        <!-- End .content-box-header -->
        <div class="content-box-content">
            <div class="tab-content default-tab" id="tab1">
                <!-- This is the target div. id must match the href of this div's tab -->
                <asp:ScriptManager ID="ScriptManager1" runat="server">
                </asp:ScriptManager>
                <asp:UpdatePanel ID="UpdatePanel1" runat="server" ChildrenAsTriggers="true">
                    <ContentTemplate>
                        <div class="notification error png_bg" id="noticefail" runat="server">
                            <a href="#" class="close">
                                <img src="resources/images/icons/cross_grey_small.png" title="Close this notification"
                                    alt="close" /></a>
                            <div>
                                新闻添加失败！请检查各个字段是否正确！如果多次失败，请联系技术！谢谢！
                            </div>
                        </div>
                        <div id="noticesuccess" runat="server">
                            <div class="notification success png_bg">
                                <a href="#" class="close">
                                    <img src="resources/images/icons/cross_grey_small.png" title="Close this notification"
                                        alt="close" /></a>
                                <div>
                                    新闻分类添加成功！<a href="admin_newscategory.aspx">返回列表</a>&nbsp;&nbsp;<a href="admin_ncadd.aspx">继续添加</a>
                                </div>
                            </div>
                        </div>
                        <fieldset>
                            <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->
                            <p>
                                <label>
                                    分类标题</label>
                                <asp:TextBox ID="txbTitle" runat="server" CssClass="text-input medium-input"></asp:TextBox>
                            </p>
                            <p>
                                <asp:Button ID="btnSubmit" runat="server" CssClass="button" OnClick="btnSubmit_OnClick"
                                    Text="提交" />
                                <input class="button" type="Reset" value="取消" />
                            </p>
                            </p>
                        </fieldset>
                        <div class="clear">
                        </div>
                    </ContentTemplate>
                </asp:UpdatePanel>
                <!-- End .clear -->
            </div>
            <!-- End #tab1 -->
        </div>
        <!-- End .content-box-content -->
    </div>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="jsContent" runat="server">
<script  type="text/javascript" language="javascript">
    $(function() {
    initSideNav("nav-article","admin_newscategory.aspx");
    });
</script>
</asp:Content>
